Logichart - Intelligible Program Diagram for Prolog and its Processing System

نویسندگان

  • Yoshihiro Adachi
  • Kensei Tsuchida
  • Takanori Imaki
  • Takeo Yaku
چکیده

An intelligible program diagram called Logichart has been developed for Prolog visualization. Its syntax rules and layout rules are formalized in terms of an attribute graph grammar. This grammar consists of a context–free graph grammar whose productions are defined in such a way as to formalize the graph–syntax rules of Logichart diagrams, and semantic rules which are defined in such a way that they can extract the layout information needed to display a Logichart diagram as attributes attached to node labels. Our Prolog visualization system implemented based on the attribute graph grammar can draw a Logichart diagram for any correct Prolog program (completeness), and any Logichart diagram displayed by the system is always valid for the grammar (soundness). The system can also display the execution of a Prolog program in real time; that is, the Logichart diagram is dynamically updated as the program runs.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Prolog Visualization System Using Logichart Diagrams

We have developed a Prolog visualization system that is intended to support Prolog programming education. The system uses Logichart diagrams to visualize Prolog programs. The Logichart diagram is designed to visualize the Prolog execution flow intelligibly and to enable users to easily correlate the Prolog clauses with its parts. The system has the following functions. (1) It visually traces Pr...

متن کامل

Domain-Specific Model Editors with Model Completion

Today, integrated development environments such as Eclipse allow users to write programs quickly by presenting a set of recommendations for code completion. Similarly, word processing tools such as Microsoft Word present corrections for grammatical errors in sentences. Both of these existing systems use a set of constraints expressed in the form of a grammar to restrict/correct the user. Taking...

متن کامل

Tree-Structured Diagram Drawing System Using CLP

This support system for drawing tree-structured diagrams, which is implemented in Prolog and a commercial constraint package, enables a user to nd a layout condition adequate to the drawing purpose. Using meta-programming, it automatically produces a corresponding layout program that generates a constraint logic program (CLP) for deriving a layout solution under the selected layout condition an...

متن کامل

Pairing Functions, Boolean Evaluation and Binary Decision Diagrams in Prolog

A “pairing function” J associates a unique natural number z to any two natural numbers x,y such that for two “unpairing functions” K and L, the equalities K(J(x,y))=x, L(J(x,y))=y and J(K(z),L(z))=z hold. Using pairing functions on natural number representations of truth tables, we derive an encoding for Binary Decision Diagrams with the unique property that its boolean evaluation faithfully mi...

متن کامل

Reliability Determination of a Sounding Rocket Separation System Using its Reliability Block Diagram and FMEA

Separation system is one of the most important systems in rockets. The influence of this system on mission success cannot be ignored. In this paper, reliability of a sounding rocket separation system is determined using block diagram and FMEA . This system is based on the flexible linear shape charge cross-section and a spring mechanism to accelerate separation. In this investigation, the relia...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 30  شماره 

صفحات  -

تاریخ انتشار 1999